package com.rupertjones.globalcron.server.web;

/**
 * <p>&copy Rupert Jones 2011,2012</p>
 *
 * @author rup
 */
public class FormRole {

    private String name;
    private boolean assigned = false;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isAssigned() {
        return assigned;
    }

    public void setAssigned(boolean assigned) {
        this.assigned = assigned;
    }

    public String getChecked() {
        return (isAssigned() ? "checked" : "");
    }
}
